<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>padding垂直方法</title>
    <style>
        body{
            padding:50px;
        }
        span{
            padding-top: 15px;
            padding-bottom: 15px;
            padding-left:50px;
            background-color: green;
        }
        p{
            height:50px;
            background-color: red;
        }
    </style>
</head>
<body>
<span></span>
<p></p>
<div></div>
<script>

</script>
</body>
</html>